﻿using Blog.Quartz.Application.Quartz.Timer;
using Core.Common.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Blog.Quartz.Web.Controllers
{
    public class LogController: Controller
    {
        [HttpGet]
        [Route("/supervisor/log/delete")]
        public ApiResult DeleteRunLog()
        {
            LogJob job = new LogJob();
            job.DeleteRunLog();
            return ApiResult.Success();
        }
    }
}
